package com.eatme.web.app.article.service;

import com.eatme.web.common.vo.AppResponse;
import org.springframework.data.domain.Pageable;

public interface ArticleService {
    AppResponse addArticle(com.eatme.web.app.article.entity.Article article);

    AppResponse editArticle(com.eatme.web.app.article.entity.Article article);

    AppResponse findList(com.eatme.web.app.article.entity.Article article,Pageable pageable);

    AppResponse getDetail(Integer id);

    AppResponse delete(Integer id);

    AppResponse updateSort(Integer initRanking, Integer finalRanking);

    boolean publishArticle(Integer id);

    AppResponse query( com.eatme.web.app.article.entity.Article article,Pageable pageable);
}
